﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class v_DeviceDeposit : DataObject
    {
        [ID]
        [IDENTITY]
        [Column]
        public int DeviceID { get { return fDEVICEID; } set { fDEVICEID = value; EntityState.FieldChange("DeviceID"); } } private int fDEVICEID; public static FieldInfo _DeviceID = new FieldInfo("t_smd_Device", "DeviceID");
        [Column]
        public int StoreID { get { return fSTOREID; } set { fSTOREID = value; EntityState.FieldChange("StoreID"); } } private int fSTOREID; public static FieldInfo _StoreID = new FieldInfo("v_DeviceDeposit", "StoreID");
        [Column]
        public string EapproveSN { get { return fEapproveSN; } set { fEapproveSN = value; EntityState.FieldChange("EapproveSN"); } } private string fEapproveSN; public static FieldInfo _EapproveSN = new FieldInfo("t_smd_Device", "EapproveSN");
        [Column]
        public string AuthID { get { return fAuthID; } set { fAuthID = value; EntityState.FieldChange("AuthID"); } } private string fAuthID; public static FieldInfo _AuthID = new FieldInfo("t_smd_Device", "AuthID");
        [Column]
        public string Status { get { return fSTATUS; } set { fSTATUS = value; EntityState.FieldChange("Status"); } } private string fSTATUS; public static FieldInfo _Status = new FieldInfo("t_smd_Device", "Status");
        [Column]
        public string FullSetSN { get { return fFullSetSN; } set { fFullSetSN = value; EntityState.FieldChange("FullSetSN"); } } private string fFullSetSN; public static FieldInfo _FullSetSN = new FieldInfo("t_smd_Device", "FullSetSN");
        [Column]
        public string ApplicationType { get { return fApplicationType; } set { fApplicationType = value; EntityState.FieldChange("ApplicationType"); } } private string fApplicationType; public static FieldInfo _ApplicationType = new FieldInfo("v_DeviceDeposit", "ApplicationType");
        [Column]
        public string Address { get { return fAddress; } set { fAddress = value; EntityState.FieldChange("Address"); } } private string fAddress; public static FieldInfo _Address = new FieldInfo("v_DeviceDeposit", "Address");
        [Column]
        public string DispenserModel { get { return fDispenserModel; } set { fDispenserModel = value; EntityState.FieldChange("DispenserModel"); } } private string fDispenserModel; public static FieldInfo _DispenserModel = new FieldInfo("v_DeviceDeposit", "DispenserModel");
        [Column]
        public string ShakerModel { get { return fShakerModel; } set { fShakerModel = value; EntityState.FieldChange("ShakerModel"); } } private string fShakerModel; public static FieldInfo _ShakerModel = new FieldInfo("v_DeviceDeposit", "ShakerModel");
        [Column]
        public string PcModel { get { return fPcModel; } set { fPcModel = value; EntityState.FieldChange("PcModel"); } } private string fPcModel; public static FieldInfo _PcModel = new FieldInfo("v_DeviceDeposit", "PcModel");
        [Column]
        public decimal? Amount { get { return fAmount; } set { fAmount = value; EntityState.FieldChange("Amount"); } } private decimal? fAmount; public static FieldInfo _Amount = new FieldInfo("v_DeviceDeposit", "Amount");
        [Column]
        public decimal? BuyMachineDeposit { get { return fBuyMachineDeposit; } set { fBuyMachineDeposit = value; EntityState.FieldChange("BuyMachineDeposit"); } } private decimal? fBuyMachineDeposit; public static FieldInfo _BuyMachineDeposit = new FieldInfo("v_DeviceDeposit", "BuyMachineDeposit");
        [Column]
        public DateTime? PurchasedDate { get { return fPurchasedDate; } set { fPurchasedDate = value; EntityState.FieldChange("PurchasedDate"); } } private DateTime? fPurchasedDate; public static FieldInfo _PurchasedDate = new FieldInfo("v_DeviceDeposit", "PurchasedDate");
        [Column]
        public DateTime? InstallDate { get { return fInstallDate; } set { fInstallDate = value; EntityState.FieldChange("InstallDate"); } } private DateTime? fInstallDate; public static FieldInfo _InstallDate = new FieldInfo("v_DeviceDeposit", "InstallDate");
        [Column]
        public int OldStoreID { get { return fOldStoreID; } set { fOldStoreID = value; EntityState.FieldChange("OldStoreID"); } } private int fOldStoreID; public static FieldInfo _OldStoreID = new FieldInfo("v_DeviceDeposit", "OldStoreID");
    }

}